# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-gw
pkgver=0_git20200101
pkgrel=0
_commit="819b1dde560013003eeac86c2069c5be7af25c6d"
pkgdesc="libretro core for Game & Watch simulators"
url="https://github.com/libretro/gw-libretro"
arch="all"
license="Zlib"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/gw-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/gw-libretro-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 gw_libretro.so "$pkgdir"/usr/lib/libretro/gw_libretro.so
}

sha512sums="198403b838c8957e76bff37890397807fb52501cb9b5fff82df126b98413f8b1746ff4aa4e564551d7a4c5414f90a6fc4f074ba50ae46e1b2b428e5578d5b7cb  libretro-gw-819b1dde560013003eeac86c2069c5be7af25c6d.tar.gz"
